package org.aeon.newsmanagersystem.dao;

import org.aeon.newsmanagersystem.pojo.NewsUsers;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* Created by Mybatis Generator on 2024/03/27
*/
@Mapper
public interface NewsUsersMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(NewsUsers record);

    int insertSelective(NewsUsers record);

    NewsUsers selectByPrimaryKey(Integer uid);

    int updateByPrimaryKeySelective(NewsUsers record);

    int updateByPrimaryKey(NewsUsers record);

    NewsUsers getByUname(@Param("uname") String uname);
}
